﻿<html lang="zh-cn">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>@ViewBag.Title</title>
    <link rel="shortcut icon" type="image/x-icon" href="/Scripts/img/favicon.png" />
    <link rel="stylesheet" type="text/css" href="http://cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="http://cdn.bootcss.com/bootstrap/3.3.6/css/bootstrap-theme.min.css">
    @* <link rel="stylesheet" type="text/css" href="{% static 'css/base.css' %}"> *@
    <!--[if lt IE 9]>
            <script src="http://cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
            <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
        <![endif]-->
</head>
<body>

    <!--
    Fixed Navigation
    ==================================== -->
    <div class="container">
        <div class="row">
            <div style="height:50px;"></div>
            <header class="navbar navbar-default  navbar-fixed-top" role="navigation">
                <div id="navbar" class="navbar-collapse collapse">
                    <ul class="nav navbar-nav">
                        <li><a href="/admin/index">文章管理</a></li>
                        <li><a href="/admin/userIndex">用户管理</a></li>
                        <li><a href="/artic/blog">博客</a></li> 
                    </ul>
                    <ul class="nav navbar-nav navbar-right">
                        <li><a href="#">@ViewBag.user</a></li>
                        <li><a href="/admin/logout">退出</a></li>
                        <li><a href="#"></a></li>
                    </ul>
                </div><!--/.nav-collapse -->
            </header>
        </div>
    </div>
    <!--
    End Fixed Navigation
    ==================================== -->


    @RenderBody()

    @Scripts.Render("~/bundles/jquery")
    @RenderSection("scripts", required: false)

    <!-- footer -->
    <footer class="footer" role="contentinfo">
        <hr>
        <div class="container">
            <p class="text-center">ChenzhiPeng-<strong>BlogDemo</strong>©2016. All Rights Reserved.</p>
            <h5 class="text-center"> Powered by&nbsp;<a href="#">ChenZhiPeng</a>.</h5>
        </div>
    </footer>
    <!-- /.footer-->


    <!-- core JavaScript================================================== -->
    <script type="text/javascript" src="http://cdn.bootcss.com/jquery/3.0.0-alpha1/jquery.min.js"></script>
    <script type="text/javascript" src="http://cdn.bootcss.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
    @*<script type="text/javascript" left="92%" bottom="5%" text="返回顶部" src="{% static 'js/x-return-top.min.js' %}"></script>*@

    <script type="text/javascript">
        $('#{{active_menu}}').addClass("active");
    </script>
    <!-- /core JavaScript================================================== -->
</body>
</html>